export default {
    //通过函数中的参数给state中的userId赋值
    userId(state,userId){
        state.userId=userId;
    },
    userAccount(state,account){
        state.account=account;
    },
    userAvatar(state,avatar){
        state.avatar = avatar;
    }
}
